import { request } from './request'

export function logout() {
  return request({
    url: '/api/auth/logout',
    method: 'post',
    data: { Authorization: window.localStorage.getItem('token') }
  })
}
